package com.sp.biz.user.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 岗位表
 * </p>
 *
 * @author 
 * @since 2025-07-16 18:47:50
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_post_info")
@Schema(name = "PostInfoDO对象", description = "岗位表")
public class PostInfoDO {

   @Schema(name="id")
   @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @Schema(name="岗位编码")
    @TableField("POST_CODE")
    private String postCode;

    @Schema(name="岗位名称")
    @TableField("POST_NAME")
    private String postName;

    @Schema(name="是否启用 1 是 0 否")
    @TableField("IS_ENABLE")
    private String isEnable;

      @TableField(value = "CREATOR_ID", fill = FieldFill.INSERT)
    private Long creatorId;

    @TableField(value = "UPDATER_ID", fill = FieldFill.INSERT_UPDATE)
    private Long updaterId;

    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "UPDATE_TIME", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
